package com.doge.walknovel.business.novel

import com.doge.walknovel.api.model.NovelDetailInfo
import com.doge.walknovel.api.model.CommentInfo
import com.doge.walknovel.core.base.adapters.PAGE_INITIAL

data class NovelDetailState(
    val page: Int = PAGE_INITIAL,
    val list: List<String> = listOf(),
    val info: NovelDetailInfo? = null,
    val commentsList: List<String> = listOf(),
    val comments: Map<Int, CommentInfo> = mapOf()
) {

    companion object {
        const val ID_INFO = "info"
        const val ID_MIGHT_LIKE = "mightLike"
        const val ID_COMMENTS_TOP = "commentsTop"
        const val ID_COMMENTS = "comments"
    }
}